package com.kxmall.vehicle.domain.bo;

import com.kxmall.common.core.validate.AddGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 餐车柜格下架商品信息对象
 */

@Data
@ApiModel("餐车柜格下架商品信息对象")
public class KxVehicleBoxDownGoodsBo {

    @ApiModelProperty(value = "餐车动力单元编号")
    @NotNull(message = "餐车动力单元编号不能为空", groups = { AddGroup.class })
    private String vehicleNo;

    @ApiModelProperty(value = "餐车柜格索引 1~24")
    @NotNull(message = "餐车柜格索引不能为空", groups = { AddGroup.class })
    private Integer boxIndex;
}
